package com.wunong.smart.address.client.param;

import com.wunong.smart.domain.platform.common.BaseParam;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
 * 操作地址参数
 *
 * @author create by zealot.zt
 */
@Getter
@Setter
@ToString(callSuper = true)
public class OperateUserAddressParam extends BaseParam {

    /**
     * 用户编号
     */
    protected Long userId;

    /**
     * 用户地址编号
     */
    @NotNull(message = "地址编号必填")
    protected Long addressId;

}
